package com.freight.order.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.freight.core.base.FreightBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "order_historical_records")
@TableName("order_historical_records")
@ApiModel(value = "历史记录")
public class HistoricalRecords extends FreightBaseEntity {

    @ApiModelProperty(value = "实体id")
    private Long recordsId;

    @ApiModelProperty(value = "用户id")
    private Long userId;

}
